package com.matt.domain.cookbook;

import com.matt.domain.NativeWithResultClass;
import com.matt.commons.model.Model;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 食谱营养成分
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "tb_recipe_ingredients")
@Entity
@NativeWithResultClass
public class RecipeIngredients extends RecipeBase implements Serializable {
  private static final long serialVersionUID = 1L;

  /**
   * 幼儿园ID
   */
  @Column(name = "area_id")
  private String areaId;

  /**
   * 开始日期
   */
  @Column(name = "start_date")
  private Date startDate;

  /**
   * 结束日期
   */
  @Column(name = "end_date")
  private Date endDate;

  /**
   * 营养内容
   */
  @Column(name = "ingredients_json")
  private String ingredientsJson;

  /**
   * 创建时间
   */
  @Column(name = "create_time", nullable = false)
  private Timestamp createTime;

  
}